<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>答题记录 - 牛津自然拼读学习应用</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>牛津自然拼读学习应用</h1>
        </header>
        
        <main>
            <div class="records-section">
                <h2>答题记录</h2>
                
                <div class="records-filter">
                    <label for="record-filter">筛选记录：</label>
                    <select id="record-filter">
                        <option value="all">全部记录</option>
                        <option value="correct">正确答案</option>
                        <option value="incorrect">错误答案</option>
                    </select>
                </div>
                
                <div class="records-list">
                    <table id="records-table">
                        <thead>
                            <tr>
                                <th>日期</th>
                                <th>题型</th>
                                <th>单词</th>
                                <th>结果</th>
                                <th>用时</th>
                            </tr>
                        </thead>
                        <tbody>
                            <!-- 记录将通过JavaScript动态填充 -->
                        </tbody>
                    </table>
                </div>
                
                <div class="records-actions">
                    <button class="btn-secondary" onclick="window.location.href='/'">返回首页</button>
                </div>
            </div>
        </main>
        
        <footer>
            <p>&copy; 2025 牛津自然拼读学习应用</p>
        </footer>
    </div>
    
    <script src="/static/js/records.js"></script>
</body>
</html>